package com.wanlink.mall.http;

import com.wanlink.mall.app.model.BannerInfo;
import com.wanlink.mall.app.model.BaseModel;
import com.wanlink.mall.http.response.BaseResponse;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;

/**
 * Created by chenqm on 2018/2/28.
 * 封装请求的接口
 */

public interface Api {

//    public static String HOST = "http://dev.api.mall.wanlink2018.com";//开发
    public static String HOST = "http://pre.api.mall.wanlink2018.com";//预发布环境
//    public static String HOST = "http://test.api.mall.wanlink2018.com";//测试环境
//    public static String HOST = "http://api.mall.wanlink2018.com";//正式环境

    @GET("index/recommendBanner")
    Observable<BaseResponse<List<BannerInfo>>> getRecommendBannerInfo();


}
